package yunhe.entity;

public class NewsInfo {
	private String title;
	private String time;
	private int nId;
	private String context;
	private AdminInfo admin;
	private BoardInfo board;
	private String picPath;
	
	
	public NewsInfo(String title, String time, int nId, String context,
			AdminInfo admin, BoardInfo board, String picPath) {
		super();
		this.title = title;
		this.time = time;
		this.nId = nId;
		this.context = context;
		this.admin = admin;
		this.board = board;
		this.picPath = picPath;
	}
	public String getPicPath() {
		return picPath;
	}
	public void setPicPath(String picPath) {
		this.picPath = picPath;
	}
	public int getnId() {
		return nId;
	}
	public void setnId(int nId) {
		this.nId = nId;
	}
	public String getContext() {
		return context;
	}
	public void setContext(String context) {
		this.context = context;
	}
	public AdminInfo getAdmin() {
		return admin;
	}
	public void setAdmin(AdminInfo admin) {
		this.admin = admin;
	}
	public BoardInfo getBoard() {
		return board;
	}
	public void setBoard(BoardInfo board) {
		this.board = board;
	}
	public NewsInfo(String title, String time) {
		this.title = title;
		this.time = time;
	}
	public NewsInfo() {
		
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
}
